
package pl.com.qapps.unity;

import org.gnome.glib.Glib;
import org.gnome.glib.Object;
import org.gnome.glib.UserDirectory;
import org.gnome.gtk.Gtk;
import org.gnome.gtk.Menu;
import org.gnome.gtk.Widget;
import org.gnome.gtk.Window;


/**
 * @author Jakub Dykowski
 *
 */
public class TestGnomeBinding {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Menu menu;
		Class clazz = Menu.class;
		while (clazz.getSuperclass() != null) {
			System.out.println(clazz);
			clazz = clazz.getSuperclass();
		}
		G g = new G(14356437L);
		Widget w;
		Window gw;
		
		System.out.println(Gtk.isInitialized());
		Gtk.init(args);
		System.out.println(Gtk.isInitialized());
		Gtk.getUserCacheDir();
		Glib.getUserCacheDir();
		method();
		UserDirectory dir;
//		Map map;map.
	}
	
	static native void method()/*-{
		
	}-*/;


	static class G extends Object {

		/**
		 * @param pointer
		 */
		G(long pointer) {
			super(pointer);
			// TODO Auto-generated constructor stub
		}
		
	}

}
